import {ApiMaster} from '@/common/apiMaster';

class _Api  extends ApiMaster{
	/** @type {ApiMaster} */
	typeApi
	/** @type {ApiMaster} */
	classApi
}

/**
 * 帖子分类
 * @type {_Api}
 */
let CategoryApi = new _Api('/api/backstage/forums/category');

/**
 * 标签
 * @type {ApiMaster}
 */
CategoryApi.typeApi = new ApiMaster('/api/backstage/forums/category/type');
/**
 * 类别
 * @type {ApiMaster}
 */
CategoryApi.classApi = new ApiMaster('/api/backstage/forums/category/class');

export default CategoryApi;